NULL);
if (wide_separators)
- gtk_render_frame (context, cr,
- (width - separator_width) / 2,
- height * start_fraction,
- separator_width,
- height * (end_fraction - start_fraction));
+ {
+ gtk_render_background (context, cr,
+ (width - separator_width) / 2,
+ padding.top,
+ separator_width,
+ height - padding.bottom);
+ gtk_render_frame (context, cr,
+ (width - separator_width) / 2,
+ padding.top,
+ separator_width,
+ height - padding.bottom);
+ }
else
gtk_render_line (context, cr,
(width - padding.left) / 2,
NULL);
if (wide_separators)
- gtk_render_frame (context, cr,
- width * start_fraction,
- (height - separator_height) / 2,
- width * (end_fraction - start_fraction),
- separator_height);
+ {
+ gtk_render_background (context, cr,
+ padding.left,
+ (height - separator_height) / 2,
+ width - padding.right,
+ separator_height);
+ gtk_render_frame (context, cr,
+ padding.left,
+ (height - separator_height) / 2,
+ width - padding.right,
+ separator_height);
+ }
else
gtk_render_line (context, cr,
width * start_fraction,